home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / doom / qoole131.zip / QUAKE.ENT < prev    next >
Text File  |  1997-04-18  |  23KB  |  912 lines

  1. //
  2. //  Quake Entity Set for Qoole
  3. //  By Matt Ayres
  4. //
  5.  
  6. class "Ammo"
  7. class "Armor"
  8. class "Info"
  9. class "Item"
  10. class "Light"
  11. class "Monster"
  12. class "Misc"
  13. class "Player"
  14. class "Sound"
  15. class "Weapon"
  16. class "Func"
  17. class "Trigger"
  18.  
  19. typedef "worldtypes"
  20. {
  21.     0    "Medieval (medieval)"
  22.     1    "Runic (metal)"
  23.     2    "Present (base)"
  24. }
  25.  
  26. entity "worldspawn" "Null->Worldspawn" "entire map"
  27. {
  28.     "wad"        str        "Texture wad file to use for this map"
  29.     "message"    str        "The title of the level"
  30.     "worldtype"    worldtypes    "Describes time of environment (changes appearance/name of keys)"
  31.     "sounds"    int        "Tells the CD player which track to play."
  32.     "light"        int        "Default light level"
  33.     model
  34. }
  35.  
  36. entity "air_bubbles" "Misc->Air Bubbles" "Rising bubbles"
  37. {
  38.     "origin"    notuser
  39. }
  40.  
  41. // -------------------------------------------------------------------------
  42. // ambient sounds
  43.  
  44. entity "ambient_comp_hum" "Sound->Comp Hum" "Computer background sounds"
  45. {
  46.     "origin"    notuser
  47. }
  48.  
  49. entity "ambient_drip" "Sound->Drip" "Dripping sound"
  50. {
  51.     "origin"    notuser
  52. }
  53.  
  54. entity "ambient_drone" "Sound->Drone" "Engine/machinery sound"
  55. {
  56.     "origin"    notuser
  57. }
  58.  
  59. entity "ambient_fluoro_buzz" "Sound->Fluoro_Buzz" "Flourescent buzzing sound"
  60. {
  61.     "origin"    notuser
  62. }
  63.  
  64. entity "ambient_light_buzz" "Sound->Light Buzz" "Buzzing sound from light"
  65. {
  66.     "origin"    notuser
  67. }
  68.  
  69. entity "ambient_suck_wind" "Sound->Suck Wind" "Wind sound"
  70. {
  71.     "origin"    notuser
  72. }
  73.  
  74. entity "ambient_swamp1" "Sound->Frogs" "Frogs croaking"
  75. {
  76.     "origin"    notuser
  77. }
  78.  
  79. entity "ambient_swamp2" "Sound->Frogs 2" "Slightly different sounding frogs croaking"
  80. {
  81.     "origin"    notuser
  82. }
  83.  
  84. entity "ambient_thunder" "Sound->Thunder" "Thunder sound"
  85. {
  86.     "origin"    notuser
  87. }
  88.  
  89.  
  90. // -------------------------------------------------------------------------
  91. // events
  92.  
  93. entity "event_lightning" "Misc->Event Lightning" "Lightning (Used to kill Cthon, shareware boss)"
  94. {
  95. }
  96.  
  97.  
  98. // -------------------------------------------------------------------------
  99. // funcs
  100.  
  101. typedef "button_sounds"
  102. {
  103.     1    "Steam Metal"
  104.     2    "Wooden Chunk"
  105.     3    "Metallic Click"
  106.     4    "In-Out"
  107. }
  108.  
  109. entity "func_bossgate" "Func->Boss Gate" "Entity appears unless player has all four sigils"
  110. {
  111.     "targetname"    str        ""
  112.     model
  113. }
  114.  
  115. entity "func_button" "Func->Button" "A button"
  116. {
  117.     "angle"        int        "Angle button moves?"
  118.     "speed"        int        "Speed it moves in?"
  119.     "health"    int        "If there is health, button is shootable"
  120.     "killtarget"    int        "Kills target when activated"
  121.     "lip"        int        "Amount button sticks out when activated (default:4)"
  122.     "sounds"    button_sounds    "Sound it makes when activated"
  123.     "wait"        int        "Wait until retrigger? (-1 stays pressed)"
  124.     "delay"        int        "Delay before action is triggered"
  125.     "targetname"    str        ""
  126.     "target"    str        "Trigger name of target entity"
  127.     model
  128. }
  129.  
  130. entity "func_dm_only" "Func->DM Only" "A teleporter that only appears in deathmatch"
  131. {
  132.     "targetname"    str        ""
  133.     model
  134. }
  135.  
  136. typedef "door_sounds"
  137. {
  138.     0        "no sound"
  139.     1        "stone"
  140.     2        "base"
  141.     3        "stone chain"
  142.     4        "screechy metal"
  143. }
  144.  
  145. flagdef "door_spawnflags"
  146. {
  147.     1        "door waits in both open and closed states for trigger"
  148.     2        "door starts open; when triggered, closes"
  149.     4        "does not link action to multiple door brushes?"
  150.     8        "door requires a gold key to open"
  151.     16        "door requires a silver key to open"
  152. }
  153.  
  154. entity "func_door" "Func->Door" "Door"
  155. {
  156.     "angle"        int        "opening angle"
  157.     "speed"        int (100)    "speed of movement (100 default)(optional)"
  158.     "sounds"    door_sounds (1)    "sound it makes"
  159.     "wait"        int (3)        "delay before closing (3 default, -1 never return) (optional)"
  160.     "spawnflags"    door_spawnflags    "Flags describing the object (optional)"
  161.     "lip"        int (8)        "amount remaining at end of move (8 default) (optional)"
  162.     "message"    str        "message printed if door is opened by trigger"
  163.     "health"    int        "if set, door must be shot open"
  164.     "dmg"        int        "damage inflicted on blocking entities"
  165.     "targetname"    str        "Door's trigger name (optional)"
  166.     model
  167. }
  168.  
  169. flagdef "door_secret_spawnflags"
  170. {
  171.     1        "Once open, stays open"
  172.     2        "First move is left of arrow"
  173.     4        "First move is down from arrow"
  174.     8        "Only opened by trigger"
  175.     16        "Even if targeted, keep shootable"
  176. }
  177.  
  178. entity "func_door_secret" "Func->Door Secret" "A door that is triggered to open"
  179. {
  180.     "angle"        int        "Angle it moves when activated"
  181.     "speed"        int (100)    "Speed of movement"
  182.     "sounds"    door_sounds (1)    "Sound it makes"
  183.     "wait"        int (3)        "Delay before closing"
  184.     "spawnflags"    door_secret_spawnflags    "Flags describing the object (optional)"
  185.     "lip"        int (8)        "Some kind of offset (optional)"
  186.     "targetname"    str        "Door's trigger name"
  187.     model
  188. }
  189.  
  190. entity "func_episodegate" "Func->Episode Gate" "Entity appears if player has appropriate episode sigil"
  191. {
  192.     "e1"        1        "Appears if player has Episode 1 sigil"
  193.     "e2"        2        "Appears if player has Episode 2 sigil"
  194.     "e3"        3        "Appears if player has Episode 3 sigil"
  195.     "e4"        4        "Appears if player has Episode 4 sigil"
  196.     "targetname"    str        ""
  197.     model
  198. }
  199.  
  200. entity "func_illusionary" "Func->Illusionary" "Creates brush that appears solid, but isn't"
  201. {
  202.     "targetname"    str        ""
  203.     model
  204. }
  205.  
  206. typedef "plat_sounds"
  207. {
  208.     1    "base fast"
  209.     2    "chain slow"
  210. }
  211.  
  212. entity "func_plat" "Func->Platform" "A lift/elevator"
  213. {
  214.     "height"    int        "Determines amount plat moves manually (optional)"
  215.     "speed"        int (150)    "Moving speed (default:150)"
  216.     "sounds"    int        "Sound it makes (optional)"
  217.     "targetname"    str        ""
  218.     model
  219. }
  220.  
  221. entity "func_train" "Func->Train" "A platform (moves along a 'train')"
  222. {
  223.     "sounds"    int (1)        "Sound it makes when activated"
  224.     "speed"        int (100)    "Speed at which it moves (default:100)"
  225.     "dmg"        int (2)        "Damage done on crush (default:2)"
  226.     "targetname"    str        "Its trigger name"
  227.     "target"    str        "Trigger name of its first path_corner destination"
  228.     model
  229. }
  230.  
  231. entity "func_wall" "Func->Wall" "Changes texture to alternate texture when triggered"
  232. {
  233.     "targetname"    str        ""
  234.     model
  235. }
  236.  
  237.  
  238. // -------------------------------------------------------------------------
  239. // infos
  240.  
  241. entity "info_intermission" "Info->Intermission (Camera)" "Cameras positioning for intermission (?)"
  242. {
  243.     "origin"    notuser
  244.     "mangle"    notuser
  245.     "targetname"    str
  246. }
  247.  
  248. entity "info_notnull" "Info->Notnull (Light Target)" "Used as a positional target for lighting (does not remove itself)"
  249. {
  250.     "origin"    notuser
  251.     "angle"        notuser
  252.     "targetname"    str
  253. }
  254.  
  255. entity "info_null" "Info->Null (Light Target)" "Used as a positional target for spotlights (removes itself)"
  256. {
  257.     "origin"    notuser
  258.     "angle"        notuser
  259.     "targetname"    str
  260. }
  261.  
  262. entity "info_teleport_destination" "Info->Teleport Destination" "Gives coords for a teleport destination using a targetname"
  263. {
  264.     "origin"    notuser
  265.     "angle"        notuser
  266.     "angle"        int    "Angle the player will face upon leaving teleport."
  267.     "targetname"    str    "Teleport's trigger name."
  268. }
  269.  
  270.  
  271. // -------------------------------------------------------------------------
  272. // ammo
  273.  
  274. flagdef "item_spawnflags"
  275. {
  276.     1        "Big"
  277. }
  278.  
  279. entity "item_shells" "Ammo->Shells" "Ammo for both Shotgun and SuperShotgun"
  280. {
  281.     "origin"    notuser
  282.     "angle"        notuser
  283.     "spawnflags"    item_spawnflags
  284. }
  285.  
  286. entity "item_spikes" "Ammo->Spikes" "Ammo for Perforator and Super Perforator"
  287. {
  288.     "origin"    notuser
  289.     "angle"        notuser
  290.     "spawnflags"    item_spawnflags
  291. }
  292.  
  293. entity "item_rockets" "Ammo->Rockets" "Ammo for Rocket/Grenade Launcher"
  294. {
  295.     "origin"    notuser
  296.     "angle"        notuser
  297.     "spawnflags"    item_spawnflags
  298. }
  299.  
  300. entity "item_cells" "Ammo->Cells" "Ammo for the Thunderbolt"
  301. {
  302.     "origin"    notuser
  303.     "angle"        notuser
  304.     "spawnflags"    item_spawnflags
  305. }
  306.  
  307. // -------------------------------------------------------------------------
  308. // player
  309.  
  310. entity "info_player_start" "Player->Start" "Main player starting point (only one allowed)"
  311. {
  312.     "origin"    notuser
  313.     "angle"        notuser
  314. }
  315.  
  316. entity "info_player_deathmatch" "Player->Deathmatch" "A deathmatch start (more than one allowed)"
  317. {
  318.     "origin"    notuser
  319.     "angle"        notuser
  320. }
  321.  
  322. entity "info_player_coop" "Player->Coop" "A coop player start (more than one allowed)"
  323. {
  324.     "origin"    notuser
  325.     "angle"        notuser
  326. }
  327.  
  328. entity "info_player_start2" "Player->Start 2" "Return point from episode"
  329. {
  330.     "origin"    notuser
  331.     "angle"        notuser
  332. }
  333.  
  334. // -------------------------------------------------------------------------
  335. // items
  336.  
  337. entity "item_armor1" "Armor->Green (100%)" "Green armor"
  338. {
  339.     "origin"    notuser
  340. }
  341.  
  342. entity "item_armor2" "Armor->Yellow (150%)" "Yellow armor"
  343. {
  344.     "origin"    notuser
  345. }
  346.  
  347. entity "item_armorInv" "Armor->Red (200%)" "Red armor"
  348. {
  349.     "origin"    notuser
  350. }
  351.  
  352. entity "item_artifact_envirosuit" "Item->Envirosuit" "Environmental Protection Suit"
  353. {
  354.     "origin"    notuser
  355. }
  356.  
  357. entity "item_artifact_invisibility" "Item->Invisibility Ring" "Ring of Shadows (Invisibility)"
  358. {
  359.     "origin"    notuser
  360. }
  361.  
  362. entity "item_artifact_invulnerability" "Item->Invulnerability Pentagram" "Penkeyram of Protection"
  363. {
  364.     "origin"    notuser
  365. }
  366.  
  367. entity "item_artifact_super_damage" "Item->Quad Damage" "Quad Damage"
  368. {
  369.     "origin"    notuser
  370. }
  371.  
  372. flagdef "health_spawnflags"
  373. {
  374.     1        "Rotten (15%)"
  375.     2        "Mega (100%)"
  376. }
  377.  
  378. entity "item_health" "Item->Health" "Medkit"
  379. {
  380.     "origin"    notuser
  381.     "angle"        notuser
  382.     "spawnflags"    health_spawnflags
  383. }
  384.  
  385. entity "item_key1" "Item->Silver Key" "Silver Key"
  386. {
  387.     "origin"    notuser
  388. //    "angle"        notuser
  389. }
  390.  
  391. entity "item_key2" "Item->Gold Key" "Gold Key"
  392. {
  393.     "origin"    notuser
  394. //    "angle"        notuser
  395. }
  396.  
  397. entity "item_sigil" "Item->Sigil" "Sigil (a rune)"
  398. {
  399.     "origin"    notuser
  400.     "angle"        notuser
  401. }
  402.  
  403. entity "item_weapon" "Null->Weapon" "Generic weapon class - DO NOT USE"
  404. {
  405.     "origin"    notuser
  406.     "angle"        notuser
  407. }
  408.  
  409.  
  410. // -------------------------------------------------------------------------
  411. // lights
  412.  
  413. flagdef "light_flags"
  414. {
  415.     1        "Light starts off.  Switches on when triggered."
  416. }
  417.  
  418. typedef "light_style"
  419. {
  420.     0    "normal"
  421.     1    "flicker (first variety)"
  422.     2    "slow strong pulse"
  423.     3    "candle (first variety)"
  424.     4    "fast strobe"
  425.     5    "gentle pulse"
  426.     6    "flicker (second variety)"
  427.     7    "candle (second variety)"
  428.     8    "candle (third variety)"
  429.     9    "slow strobe"
  430.     10    "flourescent flicker"
  431.     11    "slow pulse, not fading to black"
  432. }
  433.  
  434. entity "light" "Light->Light" "A projected light.  No visible lightsource."
  435. {
  436.     "origin"    notuser
  437.     "light"        int (300)    "Tells how bright the light is"
  438.     "style"        light_style     "How the light appears"
  439.     "spawnflags"    light_flags     "State light starts in"
  440.     "target"    str         "What the light points at"
  441.     "targetname"    str         "Target id of the light"
  442. }
  443.  
  444. entity "light_fluoro" "Light->Fluoro" "A projected light.  No visible lightsource.  Makees humming sound."
  445. {
  446.     "origin"    notuser
  447.     "light"        int (300)    "Tells how bright the light is"
  448.     "style"        light_style     "How the light appears"
  449.     "spawnflags"    light_flags     "State light starts in"
  450.     "targetname"    str         "Target id of the light"
  451. }
  452.  
  453. entity "light_fluorospark" "Light->Fluorospark" "A projected light.  No visible lightsource.  Makes broken, sparking sound."
  454. {
  455.     "origin"    notuser
  456.     "light"        int (300)    "Tells how bright the light is"
  457.     "style"        light_style     "How the light appears"
  458.     "spawnflags"    light_flags     "State light starts in"
  459.     "targetname"    str         "Target id of the light"
  460. }
  461.  
  462. entity "light_globe" "Light->Globe" "Light that appears as a globe sprite."
  463. {
  464.     "origin"    notuser
  465.     "light"        int (300)    "Tells how bright the light is"
  466.     "style"        light_style     "How the light appears"
  467.     "spawnflags"    light_flags     "State light starts in"
  468.     "targetname"    str         "Target id of the light"
  469. }
  470.  
  471. entity "light_torch_small_walltorch" "Light->Torch Small Walltorch" "Small wall torch (gives off light)"
  472. {
  473.     "origin"    notuser
  474.     "light"        int (300)    "Tells how bright the light is"
  475.     "style"        light_style     "How the light appears"
  476.     "spawnflags"    light_flags     "State light starts in"
  477.     "targetname"    str         "Target id of the light"
  478. }
  479.  
  480. entity "light_flame_large_yellow" "Light->Flame Large Yellow" "Large yellow fire (gives off light)"
  481. {
  482.     "origin"    notuser
  483.     "light"        int (300)    "Tells how bright the light is"
  484.     "spawnflags"    light_flags     "State light starts in"
  485. }
  486.  
  487. entity "light_flame_small_yellow" "Light->Flame Small Yellow" "Small yellow fire (gives off light)"
  488. {
  489.     "origin"    notuser
  490.     "light"        int (300)    "Tells how bright the light is"
  491.     "spawnflags"    light_flags     "State light starts in"
  492. }
  493.  
  494. entity "light_flame_small_white" "Light->Flame Small White" "Small white fire  (gives off light)"
  495. {
  496.     "origin"    notuser
  497.     "light"        int (300)    "Tells how bright the light is"
  498.     "spawnflags"    light_flags     "State light starts in"
  499. }
  500.  
  501.  
  502. // -------------------------------------------------------------------------
  503. // monsters
  504.  
  505. flagdef "monster_spawnflags"
  506. {
  507.     1        "Monster only wakes up on sight (ambush)"
  508. }
  509.  
  510. entity "monster_army" "Monster->Army" "Grunt (30HP)"
  511. {
  512.     "origin"    notuser
  513.     "angle"        notuser
  514.     "spawnflags"    monster_spawnflags
  515. }
  516.  
  517. entity "monster_boss" "Monster->Boss" "Cthon - only can be killed by event_lightning"
  518. {
  519.     "origin"    notuser
  520.     "angle"        notuser
  521.     "spawnflags"    monster_spawnflags
  522. }
  523.  
  524. entity "monster_demon1" "Monster->Demon" "Fiend [Demon] (300HP)"
  525. {
  526.     "origin"    notuser
  527.     "angle"        notuser
  528.     "spawnflags"    monster_spawnflags
  529. }
  530.  
  531. entity "monster_dog" "Monster->Dog" "Attack dog (25HP)"
  532. {
  533.     "origin"    notuser
  534.     "angle"        notuser
  535.     "spawnflags"    monster_spawnflags
  536. }
  537.  
  538. entity "monster_enforcer" "Monster->Enforcer" "Enforcer (80HP)"
  539. {
  540.     "origin"    notuser
  541.     "angle"        notuser
  542.     "spawnflags"    monster_spawnflags
  543. }
  544.  
  545. entity "monster_fish" "Monster->Fish" "Rotfish (25HP)"
  546. {
  547.     "origin"    notuser
  548.     "angle"        notuser
  549.     "spawnflags"    monster_spawnflags
  550. }
  551.  
  552. entity "monster_hell_knight" "Monster->Hell Knight" "Hell Knight (250HP)"
  553. {
  554.     "origin"    notuser
  555.     "angle"        notuser
  556.     "spawnflags"    monster_spawnflags
  557. }
  558.  
  559. entity "monster_knight" "Monster->Knight" "Knight (75HP)"
  560. {
  561.     "origin"    notuser
  562.     "angle"        notuser
  563.     "spawnflags"    monster_spawnflags
  564. }
  565.  
  566. entity "monster_ogre" "Monster->Ogre" "Ogre (200HP)"
  567. {
  568.     "origin"    notuser
  569.     "angle"        notuser
  570.     "spawnflags"    monster_spawnflags
  571. }
  572.  
  573. entity "monster_ogre_marksman" "Monster->Ogre Marksman" "Ogre [synonymous with monster_ogre] (200HP)"
  574. {
  575.     "origin"    notuser
  576.     "angle"        notuser
  577.     "spawnflags"    monster_spawnflags
  578. }
  579.  
  580. entity "monster_oldone" "Monster->Oldone" "Shubb-Niggurath (40000HP) - requires a misc_teleportrain and an info_intermission"
  581. {
  582.     "origin"    notuser
  583.     "angle"        notuser
  584.     "spawnflags"    monster_spawnflags
  585. }
  586.  
  587. entity "monster_shalrath" "Monster->Shalrath" "Shalrath [Vore] (400HP)"
  588. {
  589.     "origin"    notuser
  590.     "angle"        notuser
  591.     "spawnflags"    monster_spawnflags
  592. }
  593.  
  594. entity "monster_shambler" "Monster->Shambler" "Shambler (600HP) - rockets 1/2 damage"
  595. {
  596.     "origin"    notuser
  597.     "angle"        notuser
  598.     "spawnflags"    monster_spawnflags
  599. }
  600.  
  601. entity "monster_tarbaby" "Monster->Tarbaby" "Spawn [Tarbaby] (80HP)"
  602. {
  603.     "origin"    notuser
  604.     "angle"        notuser
  605.     "spawnflags"    monster_spawnflags
  606. }
  607.  
  608. entity "monster_wizard" "Monster->Wizard" "Scragg [Wizard] (80HP)"
  609. {
  610.     "origin"    notuser
  611.     "angle"        notuser
  612.     "spawnflags"    monster_spawnflags
  613. }
  614.  
  615. flagdef "monster_spawnflags_zombie"
  616. {
  617.     1        "Crucified Zombie"
  618.     2        "Monster only wakes up on sight"
  619. }
  620.  
  621. entity "monster_zombie" "Monster->Zombie" "Zombie (60HP)"
  622. {
  623.     "origin"    notuser
  624.     "angle"        notuser
  625.     "spawnflags"    monster_spawnflags_zombie    ""
  626. }
  627.  
  628.  
  629. // -------------------------------------------------------------------------
  630. // misc
  631.  
  632. entity "misc_explobox" "Misc->Expode Box" "Large Nuclear Container"
  633. {
  634.     "origin"    notuser
  635.     "angle"        notuser
  636. }
  637.  
  638. entity "misc_explobox2" "Misc->Explode Box 2" "Small Nuclear Container"
  639. {
  640.     "origin"    notuser
  641.     "angle"        notuser
  642. }
  643.  
  644. entity "misc_fireball" "Misc->Fireball" "Small fireball (gives off light, harms player)"
  645. {
  646.     "origin"    notuser
  647.     "angle"        notuser
  648.     "speed"        int (300)    "Tells how fast the fireball moves"
  649. }
  650.  
  651. entity "misc_noisemaker" "Misc->Noisemaker" "Makes lots of sounds (not very useful)"
  652. {
  653.     "origin"    notuser
  654.     "angle"        notuser
  655.     "targetname"    str        ""
  656. }
  657.  
  658. entity "misc_teleporttrain" "Misc->Teleport Train" "Spiked ball needed to telefrag monster_oldone"
  659. {
  660.     "origin"    notuser
  661.     "angle"        notuser
  662.     "targetname"    str        ""
  663. }
  664.  
  665. entity "noclass" "Misc->No Class" "Prints a warning message when spawned and removes itself"
  666. {
  667.     "origin"    notuser
  668.     "angle"        notuser
  669.     "targetname"    str        ""
  670. }
  671.  
  672. entity "path_corner" "Misc->Path Corner" "Used to define path of func_train platforms and of monsters"
  673. {
  674.     "origin"    notuser
  675.     "angle"        notuser
  676.     "targetname"    str        "Its trigger name"
  677.     "target"    str        "Trigger name of next path_corner"
  678.     "wait"        int        "Wait time"
  679. }
  680.  
  681. entity "test_fodder" "Null->Test Fodder" "Testing only - DO NOT USE"
  682. {
  683. }
  684.  
  685. entity "test_teleport" "Null->Test Teleport" "Teleporter Testing - DO NOT USE"
  686. {
  687. }
  688.  
  689. flagdef "shooter_flags"
  690. {
  691.     1        "Fires large spikes"
  692.     2        "Fires lasers"
  693. }
  694.  
  695. entity "trap_shooter" "Misc->Trap Shooter" "Fires nails without needing to be triggered."
  696. {
  697.     "origin"    notuser
  698.     "angle"        int        "Angle the trap fires at"
  699.     "wait"        int        "Time between shots"
  700.     "spawnflags"    shooter_flags    ""
  701.     "nextthink"    float        "Delay before firing first spike (so shots can be skeygered)"
  702. }
  703.  
  704. entity "trap_spikeshooter" "Misc->Spikes Shooter" "Shoots spikes (nails)"
  705. {
  706.     "origin"    notuser
  707.     "angle"        int        "Angle the trap fires at"
  708.     "wait"        int        "Time between shots"
  709.     "spawnflags"    shooter_flags    ""
  710.     "nextthink"    float        "Delay before firing first spike (so shots can be skeygered)"
  711.     "targetname"    str        "Its trigger name"
  712. }
  713.  
  714. // -------------------------------------------------------------------------
  715. // triggers
  716.  
  717. flagdef "changelevel_flags"
  718. {
  719.     1        "Skip intermission screen"
  720. }
  721.  
  722. entity "trigger_changelevel" "Trigger->Change Level" "Changes to another level"
  723. {
  724.     "map"        string        "Map to change to on trigger; if not present, map is restarted"
  725.     "spawnflags"    changelevel_flags ""
  726.     model
  727. }
  728.  
  729. flagdef "nomessage"
  730. {
  731.     1    "Display no message when triggered"
  732. }
  733.  
  734. entity "trigger_counter" "Trigger->Counter" "Triggers action after it has been triggered count times."
  735. {
  736.     "targetname"    str        "Its trigger name"
  737.     "target"    str        "Trigger name of its target"
  738.     "count"        int        "Decrements on each trigger.  When 0 activates target."
  739.     "wait"        int        "Required delay before retrigger"
  740.     "delay"        int        "Delay before action is triggered"
  741.     "spawnflags"    nomessage    ""
  742.     model
  743. }
  744.  
  745. entity "trigger_hurt" "Trigger->Hurt" "Hurts whatever touches the trigger"
  746. {
  747.     "dmg"        int    "Damage done to touching entity"
  748.     "target"    str        "Trigger name of target"
  749.     model
  750. }
  751.  
  752. entity "trigger_monsterjump" "Trigger->Monster Jump" "Causes triggering monster to jump in a direction"
  753. {
  754.     "target"    str        "Trigger name of target"
  755.     model
  756. }
  757.  
  758. typedef "multiple_sounds"
  759. {
  760.     1    "Secret Sound"
  761.     2    "Beep Beep"
  762. }
  763.  
  764. flagdef "notouch"
  765. {
  766.     1    "Only allow entities to trigger"
  767. }
  768.  
  769. entity "trigger_multiple" "Trigger->Multiple" "Triggers action (can be retriggered)"
  770. {
  771.     "killtarget"    str        "Kills something [for triggering monster events] (optional)"
  772.     "target"    str        "Trigger name of target"
  773.     "sounds"    multiple_sounds    "Sound made when triggered"
  774.     "wait"        int        "Delay before retrigger"
  775.     "delay"        int        "Delay before action is triggered"
  776.     "health"    int        "if > 1, must be killed to trigger, if == 0, walk-over trigger"
  777.     "message"    str        "String displayed when triggered"
  778.     "spawnflags"    notouch        ""
  779.     model
  780. }
  781.  
  782. typedef "once_sounds"
  783. {
  784.     1    "Secret Sound"
  785.     2    "Beep Beep"
  786.     3    "Large Switch"
  787. //    4    "Set message to text string"
  788. }
  789.  
  790. entity "trigger_once" "Trigger->Once" "Triggers action only once"
  791. {
  792.     "killtarget"    str        "Kills something [for triggering monster events] (optional)"
  793.     "target"    str        "Trigger name of target"
  794.     "sounds"    once_sounds    "Sound made when triggered"
  795.     "delay"        int        "Delay before action is triggered"
  796.     "health"    int        "if > 1, must be killed to trigger, if == 0, walk-over trigger"
  797.     "message"    str        "String displayed when triggered"
  798.     "spawnflags"    notouch        ""
  799.     model
  800. }
  801.  
  802. entity "trigger_onlyregistered" "Trigger->Only Registered" "Triggers only if game is registered (registered == 1)"
  803. {
  804.     "target"    str        "Trigger name of target"
  805.     model
  806. }
  807.  
  808. flagdef "push_flags"
  809. {
  810.     1    "Push once"
  811. }
  812.  
  813. entity "trigger_push" "Trigger->Push" "Pushes a player in a direction (like a windtunnel)"
  814. {
  815. //    "origin"    notuser        "Where it is located"
  816.     "speed"        int        "Force of the push"
  817.     "angle"        int        "Direction player is pushed towards (-1=up -2=down, other=normal)"
  818.     "spawnflags"    push_flags    ""
  819.     model
  820. }
  821.  
  822. entity "trigger_relay" "Trigger->Relay" "Allows delayed/multiple actions from one trigger"
  823. {
  824.     "origin"    notuser        "Where it is located"
  825.     "killtarget"    str        "Removes targeted entity (optional)"
  826.     "targetname"    str        "Its trigger name"
  827.     "target"    str        "Trigger name of its target"
  828.     "delay"        int        "Delay before action is triggered"
  829.     model
  830. }
  831.  
  832. typedef "secret_sounds"
  833. {
  834.     1    "Secret Sound"
  835.     2    "Beep Beep"
  836. }
  837.  
  838. entity "trigger_secret" "Trigger->Secret" "Triggers action and awards secret credit."
  839. {
  840.     "killtarget"    str        "Kills something [for triggering monster events] (optional)"
  841.     "target"    str        "Trigger name of target"
  842.     "sounds"    secret_sounds    "Sound made when triggered"
  843.     "wait"        int        "Delay before retrigger"
  844.     "delay"        int        "Delay before action is triggered"
  845.     "health"    int        "if > 1, must be killed to trigger, if == 0, walk-over trigger"
  846.     "message"    str        "String displayed when triggered"
  847.     "spawnflags"    notouch        ""
  848.     model
  849. }
  850.  
  851. typedef "setskill"
  852. {
  853.     0    "easy"
  854.     1    "normal"
  855.     2    "hard"
  856.     3    "nightmare"
  857. }
  858.  
  859. entity "trigger_setskill" "Trigger->Set Skill" "Changes skill level"
  860. {
  861.     "message"    setskill    "Skill level to change to."
  862.     model
  863. }
  864.  
  865. flagdef "teleport_flags"
  866. {
  867.     1    "Only players can use teleport"
  868.     2    "Silent teleport"
  869. }
  870.  
  871. entity "trigger_teleport" "Trigger->Teleport" "Teleport (all trigger_ keys are triggered by walkover)"
  872. {
  873.     "target"    str        "Teleport destination name to teleport to."
  874.     "targetname"    str         "If present, only teleports when triggered, not when touched."
  875.     "spawnflags"    teleport_flags    ""
  876.     model
  877. }
  878.  
  879.  
  880. // -------------------------------------------------------------------------
  881. // weapons
  882.  
  883. entity "weapon_supershotgun" "Weapon->Super Shotgun" "Super Shotgun"
  884. {
  885.     "origin"    notuser
  886. }
  887.  
  888. entity "weapon_nailgun" "Weapon->Nail Gun" "Perforator"
  889. {
  890.     "origin"    notuser
  891. }
  892.  
  893. entity "weapon_supernailgun" "Weapon->Super Nail Gun" "Super Perforator"
  894. {
  895.     "origin"    notuser
  896. }
  897.  
  898. entity "weapon_grenadelauncher" "Weapon->Grenade Launcher" "Grenade Launcher"
  899. {
  900.     "origin"    notuser
  901. }
  902.  
  903. entity "weapon_rocketlauncher" "Weapon->Rocket Launcher" "Rocket Launcher"
  904. {
  905.     "origin"    notuser
  906. }
  907.  
  908. entity "weapon_lightning" "Weapon->Lightning Gun" "Lightning Gun"
  909. {
  910.     "origin"    notuser
  911. }
  912.